<!DOCTYPE html>
<html>
    <head>
        <meta charset='utf-8'>
        <title>字体-变形font-variant</title>
        <style>
            p.variant{
                font-variant: small-caps;
            }
        </style>
    </head>
    <body>
         <p>
             Normal: I am variant: Small-caps
         </p>
         <p class="variant">
             Small-caps: I am variant: Small-caps
         </p>
    </body>
</html>